﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>header</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="__STATIC__heiseshop_admin/style/adminStyle.css" rel="stylesheet" type="text/css" />
<script src="__STATIC__heiseshop_admin/js/jquery.js"></script>
<link rel="stylesheet" href="__STATIC__heiseshop_admin/css/amazeui.min.css" />
<link rel="stylesheet" href="__STATIC__heiseshop_admin/css/amazeui.datatables.min.css" />
<link rel="stylesheet" href="__STATIC__heiseshop_admin/css/app.css">
<script src="__STATIC__heiseshop_admin/js/amazeui.min.js"></script>
</head>
<body>
<div class="header">
 <div class="logo">
  <h1 style="line-height: 3.6;">欢迎登陆后台页面</h1>
 </div>
 <div class="fr top-link">
  <a href="admin_list.html" target="mainCont" title="DeathGhost"><i class="adminIcon"></i><span>管理员：{:session('nickname')}</span></a>
  <a href="#" title="修改密码"><i class="clearIcon"></i><span>清除缓存</span></a>
  <a href="{:url('index/revise_password')}" target="mainCont" title="修改密码"><i class="revisepwdIcon"></i><span>修改密码</span></a>
  <a id="tuichu" title="安全退出" style="background:rgb(60,60,60);"><i class="quitIcon"></i><span>安全退出</span></a>
 </div>
</div>
<div class="am-modal am-modal-confirm" tabindex="-1" id="my-confirm">
    <div class="am-modal-dialog">
        <div class="am-modal-hd">是否退出</div>
        <div class="am-modal-footer">
        <span class="am-modal-btn" data-am-modal-cancel>取消</span>
        <span class="am-modal-btn" data-am-modal-confirm>确定</span>
        </div>
    </div>
</div>
</body>
</html>
<script>
    $('#tuichu').click(function(){
        if(confirm('是否退出')){
            parent.location.href="{:url('login/login')}";
        }
        // $('#my-confirm').modal({
        //     onConfirm: function(){
        //         parent.location.href="{:url('login/login')}";
        //     }
        // })
        
        return false;
    })
</script>